<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <!-- <div id="app"></div> -->
    <template>
        <div class="container" @mouseenter="stop" @mouseleave="go">
            <ul class="wrap"  :style="containerStyle">
                <li v-for="(item,index) in sliders" :key="index">
                    <img class="img" :src="item.img" alt="">
                </li>
            </ul>
            <ul class="dot">
                <li v-for="(index) in sliders.length" :class="{'active':index===currentIndex+1}" @mouseover="change(index)">{{index}}</li>
            </ul>
        </div>
    </template>
</body>

</html>